package net.lab1024.smartadmin.module.weapp.orders.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import net.lab1024.smartadmin.common.domain.PageParamDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

/**
 * [  ]
 *
 * @author wuqian
 * @version 1.0
 * @company 五千
 * @copyright (c)  五千Inc. All rights reserved.
 * @date 2021-03-10 15:12:30
 * @since JDK1.8
 */
@Data
public class OrdersQueryDTO extends PageParamDTO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("from_openid")
    private String fromOpenid;

    @ApiModelProperty("to_openid")
    private String toOpenid;

    @ApiModelProperty("no")
    private String no;

    @ApiModelProperty("department_id")
    private Long departmentId;

    @ApiModelProperty("isStaff")
    private Integer isStaff;

    @ApiModelProperty("statue")
    private Integer[] statue;

    @ApiModelProperty("问题描述")
    private String problemDetails;

    @ApiModelProperty("创建时间-开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeBegin;

    @ApiModelProperty("创建时间-截止")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeEnd;

    @ApiModelProperty("上次更新时间-开始")
    private Date updateTimeBegin;

    @ApiModelProperty("上次更新创建时间-开始")
    private Date updateTimeEnd;

    @ApiModelProperty("搜索关键字")
    private String keywords;

    @ApiModelProperty("是否已读")
    private String isRead;

    @ApiModelProperty("登入uid")
    private Long sessionid;

    @ApiModelProperty("提交人")
    private String createUser;

}
